package com.fan.share.themes.classic.land;


import com.fan.share.themes.OnekeyShareThemeImpl;
import com.fan.share.themes.classic.FriendListPage;
import com.mob.tools.utils.ResHelper;

/**
 * 横屏的好友列表
 */
public class FriendListPageLand extends FriendListPage {

    private static final int DESIGN_SCREEN_WIDTH = 1280;

    private static final int DESIGN_TITLE_HEIGHT = 70;

    public FriendListPageLand ( OnekeyShareThemeImpl impl ) {
        super( impl );
    }

    @Override
    protected float getRatio () {
        float screenWidth = ResHelper.getScreenWidth( activity );
        return screenWidth / DESIGN_SCREEN_WIDTH;
    }

    @Override
    protected int getDesignTitleHeight () {
        return DESIGN_TITLE_HEIGHT;
    }

}
